trigger readAccessOnAccountNotes on Account (after update) {

    Map<id,Account> AccMap = new Map<id,Account>();   
    ID localAdvertiserRecordTypeID = RecordTypeHelper.GetRecordTypeID('Account', 'Local OOR Customer');

    for(Account acnt :Trigger.New){                       
        if(acnt.RecordTypeId == localAdvertiserRecordTypeID){                                                                        
            if(trigger.NewMap.get(acnt.id).ownerid  != trigger.oldMap.get(acnt.id).ownerid){                                 
                AccMap.put(acnt.id, acnt);}
        }
     }
     
     If(AccMap.size()>0)customSharingClass.accountNotesShare(AccMap);
}